#ifndef MIDDLE_H
#define MIDDLE_H

#include <QWidget>
#include "picturewidget.h"
#include "galleryprivate.h"
#include "galleryitem.h"
#include "p2.h"
#include "songlist.h"
#include "songlist_p.h"
#include "mainwindow.h"

namespace Ui {
class Middle;
}

class Middle : public QWidget
{
    Q_OBJECT

public:
    explicit Middle(QWidget *parent = 0);
    ~Middle();

    void setListT1();  //设置推荐列表

    void setListT2();  //设置我的音乐

    void setListT3();  //设置我喜欢的音乐

    void setPictureWall(); //添加轮播图

    void setpicture_2();

    void setGallery(); //添加画廊部分

    void setSongList();

    void setSongList2();

    void setButtonIcon();
    /*排行榜模块*/
    void setRankData(); //设置排行榜数据

    void on_btnPerL_clicked();

    void on_btnPerR_clicked();

    void setSecondweight();

    void setlabels1();    //单新加的
    void setlabels2();     //
    void on_return_2_clicked();

    void setlabely1();
    void setlabely2();
    void setlabely3();
    void setlabely4();
    void setwidgetSinger0();
    void setwidgetSinger1();
    void setwidgetSinger2();
    void setwidgetSinger3();

    void setwidMus1();
    void setwidMus2();
    void setwidMus3();
    void setwidMus4();



private:
    Ui::Middle *ui;
    PictureWidget * pictureWidget;
    p2 * picture_2;
    GalleryPrivate * gallerPrivate;
    SongList * songList;
    SongList * songList2;
};

#endif // MIDDLE_H
